package com.htcms.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;

import com.htcms.bean.Admin;
import com.htcms.dao.AdminDAO;

public class AdminService {
	@Autowired
	@Qualifier("adminDAO")
	private AdminDAO adminDAO;

	public AdminDAO getAdminDAO() {
		return adminDAO;
	}

	public void setAdminDAO(AdminDAO adminDAO) {
		this.adminDAO = adminDAO;
	}
	
	
	public void saveAdmin(Admin admin){
		adminDAO.saveAdmin(admin);
	}
}
